home *** CD-ROM | disk | FTP | other *** search
- tell application "Interarchy"
- activate
- set baseURL to "ftp://user:password@host/"
- mkdir url baseURL & "testdir"
- mkdir url baseURL & "inside"
- rename url baseURL & "inside" newname "testdir/nowinside"
- remove url baseURL & "testdir/nowinside"
- remove url baseURL & "testdir"
- sendcommand url baseURL & "help"
-
- weblist url "http://host/path/"
- webfetch url "http://host/path/file"
- webview url "http://host/path/file"
- webviewsource url "http://host/path/file"
-
- mirrorupload file "harddisk:folder" url "ftp://username:password@host/path/"
- getwebsite file "harddisk:folder" url "http://host/path/"
-
- settransfermode tmBinary
- end tell
-